home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / unix / volume18 / elm2.2 / part05 < prev    next >
Encoding:
Internet Message Format  |  1989-04-12  |  49.2 KB

  1. Subject:  v18i084:  Elm mail system, release 2.2, Part05/24
  2. Newsgroups: comp.sources.unix
  3. Sender: sources
  4. Approved: rsalz@uunet.UU.NET
  5.  
  6. Submitted-by: dsinc!syd@uunet.UU.NET (Syd Weinstein)
  7. Posting-number: Volume 18, Issue 84
  8. Archive-name: elm2.2/part05
  9.  
  10. #!/bin/sh
  11. # this is part 5 of a multipart archive
  12. # do not concatenate these parts, unpack them in order with /bin/sh
  13. # file doc/Ref.guide continued
  14. #
  15. CurArch=5
  16. if test ! -r s2_seq_.tmp
  17. then echo "Please unpack part 1 first!"
  18.      exit 1; fi
  19. ( read Scheck
  20.   if test "$Scheck" != $CurArch
  21.   then echo "Please unpack part $Scheck next!"
  22.        exit 1;
  23.   else exit 0; fi
  24. ) < s2_seq_.tmp || exit 1
  25. echo "x - Continuing file doc/Ref.guide"
  26. sed 's/^X//' << 'SHAR_EOF' >> doc/Ref.guide
  27. Xthan returned directly to the index screen.
  28. XIf the external pager you are using exits when it reaches end of file
  29. X(i.e. end of the message), you should have this flag ON,
  30. Xotherwise the last screen of the displayed message will not be held
  31. Xbut instead be immediately replaced by the index screen.
  32. XIf the external pager you are using does not exit until you command it to exit,
  33. Xyou have a choice.
  34. XIf you usually want to see the index screen before issuing a command,
  35. Xhaving the flag OFF will cut down out the extra keystroke needed to return
  36. Xto the index screen.
  37. XIf you usually don't need to see the index screen to before issuing the
  38. Xnext command,
  39. Xhaving the flag ON will allow you to proceed with your next command without
  40. Xhaving to wait for the redrawing of the index screen.
  41. X(The default is ON.)
  42. X
  43. X.lp pointnew 1.0i
  44. XIf this is turned on, the mailer will be automatically 
  45. Xpointing to the first new message in your folder when started, instead
  46. Xof at message #1.  This will only be effective for the incoming mailbox since
  47. Xother folders are not expected to have `new' mail.  (The default is ON.)
  48. X
  49. X.lp resolve 1.0i
  50. XThis is a boolean flag that defines the behaviour of the
  51. Xprogram for such actions as deletion, saving a message 
  52. Xand so on.   Specifically, with this option enabled, as
  53. Xsoon as mail is `dealt with' the program moves you to the
  54. Xnext message in the folder, with deletion, undeletion,
  55. Xsaving a message and forwarding a message all being treated as
  56. Xdealing with email in this manner.
  57. X(The default is ON.)
  58. X
  59. X.lp savename 1.0i
  60. XOne of the problems with electronic mail systems is that one
  61. Xtends to get very large, one-dimensional (flat) files that
  62. Xcontain lots of completely unrelated mail.  If this option
  63. Xis turned on, \f2elm\f1 will use a more intelligent 
  64. Xalgorithm \(em on incoming mail, when you \f2save\f1 or \f2copy\f1 it,
  65. Xthe default mailbox to save to (changeable by pressing anything other than
  66. X<return> of course) is a folder that is the \f2login name\f1 of the
  67. Xperson who sent you the message.  Similarly, when sending mail out,
  68. Xinstead of just blindly saving it to the \f2sentmail\f1 folder, \f2elm\f1
  69. Xwill save it to a folder that is the login name of the 
  70. Xperson who is to receive the mail\s-2\u2\d\s0.
  71. X.fn
  72. X2. When sending to a group, it's saved to the first person in the 
  73. Xlist only.
  74. X.ef
  75. X
  76. XIn practice, this means that important people that you communicate
  77. Xwith (those that you tend to save mail from) have folders that are
  78. Xactually \f2a recorded log of the discussion in both directions\f1
  79. Xand those others (random mailings) are all stuffed in the \f2sentmail\f1
  80. Xfolder for easy perusal and removal. (The default is ON.)
  81. X
  82. X.lp softkeys 1.0i
  83. XIf on, this tells \f2elm\f1 that you have an HP terminal with the
  84. XHP 2622 function key protocol and that you'd like to have them available
  85. Xwhile in the program.  (The default is OFF.)
  86. X
  87. X.lp titles 1.0i
  88. XThis flag allows you to have the first line of a message
  89. Xtitled with:
  90. X.sp
  91. X.ft CW
  92. X.ps 9
  93. X.nf
  94. X.tl '           Message \f2N/M\fP from \f2username\fP''\f2date\fP at \f2time\f1      '
  95. X.fi
  96. X.ps 10
  97. X.ft 1
  98. X.sp
  99. Xwhere all the information has been previously extracted
  100. Xfrom the message.
  101. XThis is especially useful if you weed out all the headers of each
  102. Xmessage with a large `weedout' list...
  103. X(The default is ON.)
  104. X
  105. X.lp warnings 1.0i
  106. XThe mailer likes to warn you when you send mail to a machine that cannot
  107. Xbe directly accessed.  In some situations, however, the system is set up so
  108. Xthat mail is automatically forwarded to another machine that might then
  109. Xhave better connections.  Setting this flag will allow you to effectively
  110. Xshut off all the warning messages.  (The default is ON.)
  111. X
  112. X.lp weed 1.0i
  113. XThis is a boolean flag that, in combination with the
  114. X``weedout'' list, allows you to custom define the set of
  115. Xheaders you would like to not have displayed while reading
  116. Xmessages.  
  117. X(The default is ON.)
  118. X.in 0
  119. X.sp
  120. XOne more thing: the format for each of the lines is:
  121. X.nf
  122. X.ft CW
  123. X.ti .5i
  124. Xvariable = value\f1
  125. X.fi
  126. Xand for boolean variables, \f2value\f1 can be `ON' or `OFF' only.
  127. X.sp
  128. XFor a better idea of how this all works, here's 
  129. Xmy \f2.elm/elmrc\f1 file.
  130. XWhile looking through it, notice that you can have lots of comments
  131. Xand blank lines for readability and that you can also use `shell
  132. Xvariables' and the `~' metacharacter for your home directory, 
  133. Xand they are expanded accordingly when read in by the mailer.
  134. X(Note that this was automatically saved by the \f2elm\f1 program
  135. Xon the fly from the o)ptions screen)
  136. X.ft CW
  137. X.nf
  138. X  #
  139. X  # .elm/elmrc - options file for the ELM mail system
  140. X  #
  141. X  # Saved automatically by ELM 2.2 for Dave Taylor
  142. X  #
  143. X
  144. X  # For yes/no settings with ?, ON means yes, OFF means no
  145. X
  146. X  # where to save calendar entries
  147. X  calendar = ~/.Agenda
  148. X
  149. X  # what editor to use ("none" means simulate Berkeley Mail)
  150. X  editor = none
  151. X
  152. X  # the character to use in the builtin editor for entering commands
  153. X  escape = ~
  154. X
  155. X  # the full user name for outbound mail
  156. X  fullname = Dave Taylor
  157. X
  158. X  # where to save received messages to, default file is "=received"
  159. X  receivedmail = $HOME/Mail/received
  160. X
  161. X  # where to save my mail to, default directory is "Mail"
  162. X  maildir = /users/taylor/Mail
  163. X
  164. X  # program to use for displaying messages ('builtin' is recommended)
  165. X  pager = builtin
  166. X
  167. X  # prefix sequence for indenting included message text in outgoing messages...
  168. X  prefix = >_
  169. X
  170. X  # how to print a message ('%s' is the filename)
  171. X  print = lpr -Plw2 %s
  172. X
  173. X  # where to save copies of outgoing mail to, default file is "=sent"
  174. X  sentmail = /users/taylor/Mail/mail.sent
  175. X
  176. X  # the shell to use for shell escapes
  177. X  shell = /bin/csh
  178. X
  179. X  # local ".signature" file to append to appropriate messages...
  180. X  localsignature = localsig
  181. X
  182. X  # remote ".signature" file to append to appropriate messages...
  183. X  remotesignature =  remotesig
  184. X
  185. X  # how to sort folders, "Mailbox" by default
  186. X  sortby = Reverse-Received
  187. X
  188. X  # should the default be to delete messages we've marked for deletion?
  189. X  alwaysdelete = ON
  190. X
  191. X  # should the default be to store read messages to the "received" folder?
  192. X  alwaysstore = ON
  193. X
  194. X  # should the default be to keep unread messages in the incoming mailbox?
  195. X  alwayskeep = ON
  196. X
  197. X  # should we use the "->" rather than the inverse video bar?
  198. X  arrow = OFF
  199. X
  200. X  # should the message disposition questions be displayed(ON) or
  201. X  # auto-answered(OFF) with the default answers when we resync or change folders?
  202. X  ask = ON
  203. X
  204. X  # would you like to be asked for Carbon-Copies information each msg?
  205. X  askcc = ON
  206. X
  207. X  # automatically copy message being replied to into buffer? 
  208. X  autocopy = OFF
  209. X
  210. X  # threshold for bouncing copies of remote uucp messages...
  211. X  # zero = disable function.
  212. X  bounceback = 0
  213. X
  214. X  # save a copy of all outbound messages?
  215. X  copy = ON
  216. X
  217. X  # do we want to be able to mail out AT&T Mail Forms?
  218. X  forms = OFF
  219. X
  220. X  # should we keep folders from which all messages are deleted?
  221. X  keepempty = OFF
  222. X
  223. X  # we're running on an HP terminal and want HOME, PREV, NEXT, etc...
  224. X  keypad = OFF
  225. X
  226. X  # should we display the three-line 'mini' menu?
  227. X  menu = ON
  228. X
  229. X  # when using the page commands (+ - <NEXT> <PREV>) change the current
  230. X  # message pointer...?
  231. X  movepage = ON
  232. X
  233. X  # just show the names when expanding aliases?
  234. X  names = ON
  235. X
  236. X  # when messages are copied into the outbound buffer, don't include headers?
  237. X  noheader = ON
  238. X
  239. X  # start up by pointing to the first new message received, if possible?
  240. X  pointnew = ON
  241. X
  242. X  # prompt for a command after the external pager exits?
  243. X  promptafter = ON
  244. X
  245. X  # emulate the mailx message increment mode (only increment after something
  246. X  # has been 'done' to a message, either saved or deleted, as opposed to 
  247. X  # simply each time something is touched)?
  248. X  resolve = ON
  249. X
  250. X  # save messages, incoming and outbound, by login name of sender/recipient?
  251. X  savename = ON
  252. X
  253. X  # are we running on an HP terminal and want HOME, PREV, NEXT, etc...?
  254. X  # (this implies "keypad=ON" too)
  255. X  softkeys = OFF
  256. X
  257. X  # set the main prompt timeout for resynching...
  258. X  timeout = 60
  259. X
  260. X  # display message title when displaying pages of message?
  261. X  titles = ON
  262. X
  263. X  # are we good at it?  0=beginner, 1=intermediate, 2+ = expert!
  264. X  userlevel = 2
  265. X
  266. X  # tell us about addresses to machines we can't directly get to?
  267. X  warnings = OFF
  268. X
  269. X  # enable the weedout list to be read?
  270. X  weed = ON
  271. X
  272. X  # what headers I DON'T want to see, ever.
  273. X  weedout = "Path:" "Via:" "Sent:" "Date" "Status:" "Original" "Phase" 
  274. X      "Subject:" "Fruit" "Sun" "Lat" "Buzzword" "Return" "Posted" 
  275. X      "Telephone" "Postal-Address" "Origin" "X-Sent-By-Nmail-V" "Resent" 
  276. X      "X-Location" "Source" "Mood" "Neuron" "Libido" "To:" "X-Mailer:" 
  277. X      "Full-Name:" "X-HPMAIL" "Cc:" "cc:" "Mmdf" "Network-" "Really-" 
  278. X      "Sender:" "Post" "Message-" "Relay-" "Article-" "Lines:" 
  279. X      "Approved:" "Xref:" "Organization:"     "*end-of-user-headers*"
  280. X
  281. X  # alternative addresses that I could receive mail from (usually a
  282. X  # forwarding mailbox) and don't want to have listed...
  283. X  alternatives = hplabs!taylor  hpldat!taylor  taylor@hplabs  taylor%hpldat  
  284. X.fi
  285. X.br
  286. X.ne 5
  287. X.sp
  288. X.hn 1 The Command Line Options
  289. X
  290. XThere are a number of command line options to the \f2elm\f1
  291. Xprogram, with only one that needs to be remembered: ``-?''or ``-h'' for help.
  292. X
  293. XThe flags are:
  294. X
  295. X.lp \h'24p'-a 66p
  296. XArrow.  This allows you to have the ``->'' arrow pointer
  297. Xrather than the inverse bar.  This can also be set in
  298. Xthe \f2.elm/elmrc\f1 
  299. Xfile \(em check the boolean variable \f2arrow\f1).
  300. X
  301. X.lp \h'24p'-c 66p
  302. XCheck only.  This is useful for expanding aliases 
  303. Xwithout sending any mail.  The invocation is similar to
  304. Xinvoking \f2elm\f1 in send-only mode:
  305. X.ft CW
  306. Xelm -c\f2  list-of-aliases\f1
  307. X
  308. X.lp "\h'24p'-d \f2n\f1" 66p
  309. XSet debug level to \f2n\f1.  Useful for debugging the \f2elm\f1
  310. Xprogram, this option will create a file in your home
  311. Xdirectory called \f2ELM:debug.info\f1, then
  312. Xoutput a running log of what is going on with
  313. Xthe program.  Level \f2n\f1 can be 1 through 11,
  314. Xwhere the higher numbers generate more output.
  315. XThis option might be disabled by the the person who configured
  316. X\f2elm\f1 for your system.
  317. X
  318. X.lp "\h'24p'-f \f2folder\f1" 66p
  319. XFolder.  Read specified folder rather than the default incoming mailbox.
  320. XNote that you can use the same metacharacters (e.g. `=') as when 
  321. Xyou \f2change folders\f1 from within the program.  You can also use the
  322. Xsame abbreviatory symbols (`!', `>' and `<'),
  323. Xbut remember to ``single quote'' them
  324. Xin case they have special meaning in the shell you use.
  325. X
  326. X.lp "\h'24p'-h or -?" 66p
  327. XHelp.  Gives a short list of all these options and exits.
  328. X
  329. X.lp \h'24p'-k 66p
  330. XKeypad \(em This option, when used, lets the \f2elm\f1 program
  331. Xknow that you're on an HP terminal, and it can then interpret
  332. Xthe <PREV>, <NEXT> and <HOME>/<SHIFT>-<HOME> keys accordingly.  If you
  333. Xare not on an HP terminal, it is recommended that you do
  334. XNOT use this option. (See the \f2keypad\f1 option in
  335. Xthe \f2.elm/elmrc\f1 section.)
  336. X
  337. X.lp \h'24p'-K 66p
  338. XKeypad + softkeys.  The \f2elm\f1 mailer can
  339. Xuse the HP softkeys as an alternative form of
  340. Xinput.  If you specify this option be sure that you're on
  341. Xan HP terminal that can accept the standard 2622 terminal
  342. Xescape sequences! (See the \f2softkeys\f1 option in
  343. Xthe \f2.elm/elmrc\f1 section for more information.)
  344. X
  345. X.lp \h'24p'-m 66p
  346. XInhibit display of the 3-line menu when using the mailer.  This,
  347. Xof course, gives you three more message headers per page instead.
  348. X(See also the 
  349. X.ft CW
  350. Xmenu\f1 option in
  351. Xthe \f2.elm/elmrc\f1 section.)
  352. X
  353. X.lp "\h'24p'-s \f2subject\f1" 66p
  354. XIn send-only and batch mode, this is how to indicate the subject of the
  355. Xresulting message.  Please see the section on ``Non-Interactive
  356. XUses of Elm'' in \f2The Elm Users Guide\f1 for more information.
  357. X
  358. X.lp \h'24p'-z 66p
  359. XZero.  This causes the mailer not to be started if you don't
  360. Xhave any mail.   This emulates the behaviour of programs
  361. Xlike \f2Berkeley Mail\f1.
  362. X
  363. X.in 0
  364. XAll the above flags default to reasonable options, so there is
  365. Xusually no need to use them.  Furthermore, the most used flags
  366. Xare available through the \f2.elm/elmrc\f1 file.  See above.
  367. X.br
  368. X.ne 5
  369. X.sp
  370. X.hn 1 Special Outgoing Mail Processing
  371. X
  372. XThere are a few extra features that the mailer offers on
  373. Xoutgoing mail that are worthy of mention:
  374. X
  375. XThe first, and probably the most exciting feature\s-2\u3\d\s0, is the
  376. X.fn
  377. X3. Unfortunately, at many non-US sites, it's quite probable that
  378. Xyou won't be able to use this feature since you won't have
  379. Xthe \f2crypt()\f1 library available due to licensing restrictions.
  380. X.ef
  381. Xability to send \f2encrypted\f1 mail! To do this is 
  382. Xextremely simple:  You need merely to have two key lines
  383. X.ft CW
  384. X[encode]\f1 and 
  385. X.ft CW
  386. X[clear]\f1 in the message body.
  387. X
  388. XConsider the following outgoing message:
  389. X.nf
  390. X.ps 9
  391. X.in .5i
  392. X.ft CW
  393. XJoe,
  394. XRemember that talk we had about Amy?  Well, I talked to my manager 
  395. Xabout it and he said...
  396. Xuhh...better encrypt this...the usual `key'...
  397. X[encode]
  398. XHe said that Amy was having family problems and that it had been 
  399. Xaffecting her work.
  400. XGiven this, I went and talked to her, and told her I was sorry for 
  401. Xgetting angry.  She said that she understood.
  402. XWe're friends again!!
  403. X[clear]
  404. XExciting stuff, eh?   
  405. X\h'3i'Mike
  406. X.ps 10
  407. X.ft 1
  408. X.in 0
  409. X.fi
  410. XWhile this is obviously quite readable while being typed into 
  411. Xthe editor, as soon as the message is confirmed as wanting
  412. Xto be sent, the \f2elm\f1 mailer prompts with:
  413. X.nf
  414. X.ft CW
  415. X.ps 9
  416. X.ti .5i
  417. XEnter encryption key: @
  418. X.ps 10
  419. X.ft 1
  420. X.fi
  421. Xand accepts a key (a series of 8 or less characters) without
  422. Xechoing them to the screen.  After entry, it will ask for the
  423. Xsame key again to confirm it, then *poof* it will encrypt and
  424. Xsend the mail.
  425. X
  426. XIf you have the \f2copy\f1 option enabled, the program will save
  427. Xyour copy of the message encrypted too.  (This is to ensure
  428. Xthe privacy and security of your mail archive, too.)
  429. X
  430. XIf the mailer doesn't ask for the encryption key, it's because
  431. Xyou don't have the 
  432. X.ft CW
  433. X[encode]\f1 entered as the first 8 characters
  434. Xof the line.  It MUST be so for this to work!!
  435. X
  436. XOn the other end, a person receiving this mail (they must also
  437. Xbe using \f2elm\f1 to receive it, since this mailer has a
  438. Xunique encryption program) will be reading the
  439. Xmessage and then suddenly be prompted:
  440. X.nf
  441. X.ft CW
  442. X.ps 9
  443. X.ti .5i
  444. XEnter decryption key: @
  445. X.ft 1 
  446. X.ps 10 
  447. X.fi 
  448. Xand will again be asked to re-enter it to confirm.  
  449. XThe program will then on-the-fly decrypt the mail 
  450. Xand display each line as it is decoded.  The 
  451. X.ft CW
  452. X[clear]\f1 
  453. Xline signifies that the block to encrypt is done.  
  454. X
  455. XNote that it is not possible currently to \f2pipe\f1 or \f2print\f1
  456. Xencrypted mail.
  457. X.sp 2
  458. XThe other option on outgoing mail is the ability to
  459. Xspecify what section of the message you want to have
  460. Xarchived (assuming \f2copy\f1 is enabled) and what section
  461. Xyou don't.  This is most useful for sending out source
  462. Xfile listings and so on.
  463. X
  464. XTo indicate the end of the section that should be
  465. Xsaved in the archive, you need merely to have the
  466. Xline
  467. X.nf
  468. X.ft CW
  469. X.ti .5i
  470. X[nosave]
  471. X.ft 1
  472. Xor
  473. X.ft CW
  474. X.ti .5i
  475. X[no save]
  476. X.ft 1
  477. X.fi
  478. Xappear by itself on a line.  This will be removed from 
  479. Xthe outgoing mail, and will indicate the last line of
  480. Xthe message in the saved mail.
  481. XOther than this, the saved mail is identical to the outgoing mail.
  482. X.br
  483. X.ne 5
  484. X.sp
  485. X.hn 1 Customized header lines
  486. X
  487. XThe mailer provides a facility for including customized
  488. Xheader lines in the messages you send.
  489. XIf you have an \f2.elm/elmheaders\f1 file,
  490. Xthe mailer will include its contents
  491. Ximmediately after the regular headers of all outbound  mail.
  492. XThe mailer supports use of the backquote convention in this file.
  493. XHere's a typical \f2.elm/elmheaders\f1 file.
  494. X.ft CW
  495. X.nf
  496. X  Organization: Hewlett-Packard Laboratories
  497. X  Phone: (415)-555-1234
  498. X  Operating System: `uname -srv`
  499. X.fi
  500. X.ft 1
  501. XThese lines will appear after all other header lines in the message.
  502. X.br
  503. X.ne 5
  504. X.sp
  505. X.hn 1 Commands
  506. X.sp
  507. X
  508. XThis section will discuss each command in the \f2elm\f1
  509. Xprogram in more detail than above, including the 
  510. Xprompts the user can expect upon executing the
  511. Xcommand, the meaning of different options, etc.
  512. X
  513. X.lp \h'24p'? 66p
  514. XHelp.  This command used once puts you in the \f2help\f1
  515. Xmode, where any key you press will result in a one-line description
  516. Xof the key.  Pressed again at this point will produce a two page
  517. Xsummary listing each command available.
  518. X<escape> or `.' will leave the help mode and return you to the
  519. Xmain menu level.
  520. X
  521. X.lp \h'24p'<space> 66p
  522. XDisplay the current message.
  523. X<space> is useful for reading through a mail folder.
  524. XWhen issued from the index screen,
  525. Xit will display the first screen of the current message;
  526. Xand then when issued while in the builtin pager,
  527. Xit will page through the message to the end;
  528. Xand then when issued at the end of a message
  529. X(with either the builtin pager or an external pager),
  530. Xit will display the first screen of the next message not marked for deletion.
  531. X
  532. X.lp \h'24p'<return> 66p
  533. XDisplay the current message.
  534. X<return> behaves somewhat differently from <space>.
  535. XWhen issued while in the builtin pager,
  536. Xit will scroll the current message forward one line,
  537. Xand then when issued at the end of a message
  538. X(with either the builtin pager or an external pager),
  539. Xit will redisplay the first screen of the the \f2current\fP message.
  540. XThe latter is useful in case you have issued a non-pager
  541. Xcommand while in the builtin pager and want to restart the display
  542. Xof the current message.
  543. X
  544. X.lp \h'24p'! 66p
  545. XShell.  This allows you to send a command to the shell without
  546. Xleaving the program. 
  547. X
  548. X.lp \h'24p'| 66p
  549. XPipe.  This command allows you to pipe the current message
  550. Xor the set of \f2tagged\f1 messages
  551. Xthrough other filters as you desire.  The shell used for
  552. Xthe entire command will be either the one specified in
  553. Xyour \f2.elm/elmrc\f1 file, or the default shell (see above).
  554. X
  555. X.lp \h'24p'\/ 66p
  556. XPattern match.  This command, on the top level, allows the
  557. Xuser to search through all the \f2from\f1 and \f2subject\f1 lines of
  558. Xthe current folder starting at the current message and
  559. Xcontinuing through the end.  If the first character of the
  560. Xpattern is a `/', then the program will try to match the
  561. Xspecified pattern against \f2any\f1 line in the folder.  Again,
  562. Xthis works from one after the current message through the
  563. Xend.  Both searches are case insensitive.
  564. X
  565. X.lp "\h'24p'- or <left>" 66p
  566. XDisplay the next page of the message index.
  567. X
  568. X.lp "\h'24p'+ or <right>" 66p
  569. XDisplay the previous page of the message index.
  570. X
  571. X.lp \h'24p'<number><return> 66p
  572. XSpecify new current message.  When you type in any digit key \f2elm\f1 will
  573. Xprompt ``Set current to : n'', where `n' is
  574. Xthe digit entered.  Enter the full number
  575. Xand terminate with <return>.  Note that changing the
  576. Xcurrent message to a message not on the 
  577. Xcurrent page of headers will result in a new page
  578. Xbeing displayed.
  579. X
  580. X.lp \h'24p'< 66p
  581. XScan message for calendar entries.  A rather novel feature of 
  582. Xthe \f2elm\f1 mailer is the ability to automatically incorporate
  583. Xcalendar/agenda information from a mail message into the users
  584. Xcalendar file.  This is done quite simply; any line that has
  585. Xthe pattern
  586. X
  587. X.ti +.5i
  588. X-> \f2calendar entry\f1
  589. X
  590. Xwill be automatically added to the users \f2calendar\f1 file (see
  591. Xthe \f2calendar\f1 option of the \f2.elm/elmrc\f1 file) if the `<'
  592. Xcommand is used.
  593. X.sp
  594. XFor example, let's say we had a message with the text:
  595. X
  596. X.ft CW
  597. X.ps 9
  598. X.ti +.5i
  599. XRegardless of that meeting, here's the seminar stuff:
  600. X.br
  601. X.ti +.5i
  602. X-> 8/03 3:00pm: AI Seminar with Ira Goldstein of HP Labs
  603. X.ft 1
  604. X.ps 10
  605. X
  606. Xthen using the `<' command would add the line:
  607. X
  608. X.ft CW
  609. X.ps 9
  610. X.ti +.5i
  611. X8/03 3:00pm: AI Seminar with Ira Goldstein of HP Labs
  612. X.ps 10
  613. X.ft 1
  614. X
  615. Xto the users \f2calendar\f1 file.
  616. X
  617. X.lp \h'24p'a 66p
  618. XAlias.  The alias system is a way by which more complex mail addresses
  619. Xcan be shortened for the mail user.  For example:
  620. X.nf
  621. X.ps 9
  622. X.ft CW
  623. X.ti +.5i
  624. Xjoe, bleu   =  Joe Bleu  =   joe@hpfcla.SSO.HP.COM
  625. X.ft 1
  626. X.ps 10
  627. X.fi
  628. Xwhich allows mail to `joe' or `bleu' with the system expanding
  629. Xthe address properly.  As is obvious, this not only saves remembering
  630. Xcomplex addresses, it also allows the address to be optimized to
  631. Xgo through the minimum number of machines without anyone having to
  632. Xbe informed of the change.  A more detailed discussion can
  633. Xbe found in either the section entitled \f2The Alias System\f1 in
  634. Xthis document or \f2The Elm Alias System Users Guide\f1.
  635. X
  636. X.lp \h'24p'b 66p
  637. XBounce mail.  This ``remails'' mail to someone else in such a
  638. Xway as to make the return address the original sender rather
  639. Xthan you (as opposed to the \f2forward\f1 command, which makes
  640. Xthe return address \f2you\f1 rather than the original sender)
  641. X
  642. X.lp \h'24p'C 66p
  643. XCopy to folder.  This command copies the current message or set of
  644. Xtagged messages to
  645. Xa folder.  If there is anything in the folder currently the
  646. Xmessage or messages are appended to the end, otherwise the folder is created
  647. Xcontaining only the newly copied message.  The prompt for this command
  648. Xis `Copy to folder: '.  A response of <return> cancels the command
  649. Xand returns the user to the system prompt.  The usual filename
  650. Xmetacharacters are available, too.  That is, this command expands filenames
  651. Xwith `~' being your home directory and `=' being your
  652. X\f2maildir\f1 directory, if defined.  This command also allows you to
  653. Xuse `>' for your \f2receivedmail\f1 folder and
  654. X`<' for your \f2sentmail\f1 folder.  You can also enter `?' at the prompt
  655. Xto list the names of your folders.
  656. X
  657. X.lp \h'24p'c 66p
  658. XChange folder.  Specifying this command allows the user to change
  659. Xthe folder that is currently being read.  This is intended 
  660. Xfor perusal and reply to previously archived messages.
  661. XThe prompt is `Name of new folder: ' and entering <return>
  662. Xcancels the operation, while entering a filename causes the program
  663. Xto read that file as the new folder,
  664. Xif possible.  This command expands filenames
  665. Xwith `~' being your home directory and `=' being your
  666. X\f2maildir\f1 directory, if defined.  This command also allows you to
  667. Xuse `!' as an abbreviation for you incoming mailbox,
  668. X`>' for your \f2receivedmail\f1 folder, and
  669. X`<' for your \f2sentmail\f1 folder.  You can also enter `?' at the prompt
  670. Xto list the names of your folders.
  671. X
  672. X.lp "\h'24p'd, u" 66p
  673. XDelete and Undelete.  Neither of these two commands have any prompts
  674. Xand indicate their action by either adding a `D' to the current
  675. Xmessage index entry (indicating deletion pending) or removing
  676. Xthe `D' (indicating that the message isn't set for deletion).
  677. X
  678. X.lp \h'24p'<control>-D 66p
  679. XThis command allows you to easily mark for deletion all messages 
  680. Xthat have a specific pattern.  After <control>-D is pressed,
  681. Xthe program will prompt for the string to match (currently it
  682. Xonly matches either the \f2from\f1 or \f2subject\f1 lines of
  683. Xthe message).
  684. X
  685. X.lp \h'24p'<control>-U 66p
  686. XThis is the direct opposite command to the previous \(em all messages
  687. Xthat match the specified pattern can have any mark for deletion 
  688. Xremoved by using this command.
  689. X
  690. X.lp \h'24p'e 66p
  691. XEdit mailbox.  This allows you to modify the current mail file at
  692. Xa single keystroke.  This is mostly useful for editing down messages
  693. Xbefore saving them.  Modifying headers should be done with extreme
  694. Xcaution, as they contain routing information and other vital stuff
  695. Xfor full functionality.
  696. X
  697. X.lp \h'24p'f 66p
  698. XForward.  Allows the user to forward the current message to another user.  
  699. XThis copies the message into the edit
  700. Xbuffer and allows the user to add their own message too.
  701. XThe prompt is `Forward to:' and will expand an alias if
  702. Xentered.  (See \f2bounce\f1 above, too.)
  703. X
  704. X.lp \h'24p'g 66p
  705. XGroup reply.  Identical to \f2reply\f1 below, except that the
  706. Xresponse is mailed to \f2all recipients\f1 of the original
  707. Xmessage (except yourself \(em see the \f2alternatives\f1
  708. Xoption for your \f2.elm/elmrc\f1 file above).
  709. X
  710. X.lp \h'24p'h 66p
  711. XDisplay the current message with all headers intact.
  712. XWhen you display a message with other commands,
  713. Xcertain header lines are formatted and others discarded (according
  714. Xto the \f2weedlist\fP parameter in your elmrc file).
  715. X
  716. X.lp \h'24p'i 66p
  717. XReturn to the index screen,
  718. Xwhen issued in the builtin pager or at the end of a message (with
  719. Xeither the builtin pager or an external pager).
  720. X
  721. X.lp "\h'24p'j or <down>, k or <up>" 66p
  722. XThese four keys work similarly to what they would do in \f2vi\f1 or
  723. Xany of the other (precious few) screen oriented
  724. Xprograms.  The `j' and <down> keys move
  725. Xthe current message pointer down to the next message skipping
  726. Xover any marked deleted (going to
  727. Xthe next page if needed) and the `k' and <up> keys move the current
  728. Xmessage pointer back to the previous message skipping
  729. Xover any marked deleted (also changing pages if needed)
  730. X
  731. X.lp "\h'24p'J, K" 66p
  732. XThese two keys work similarly to their lower case counterparts,
  733. Xexcept that they don't skip over deleted messages.
  734. X
  735. X.lp \h'24p'l 66p
  736. XLimit.  This feature allows you to specify a subset of the existing
  737. Xmessages to be dealt with.  For example, let's say we had a folder with
  738. Xfour hundred messages in it, about four or five different subjects.  We
  739. Xcould then limit what we're dealing with by using the \f2limit\f1
  740. Xcommand.  Pressing `l' would result in the prompt:
  741. X.nf
  742. X.ft CW
  743. X.ti +.5i
  744. XCriteria: 
  745. X.ft 1
  746. X.fi
  747. Xto which we could answer 
  748. X.ft CW
  749. Xsubject \f2string\f1, 
  750. X.ft CW
  751. Xfrom \f2string\f1 or
  752. X.ft CW
  753. Xto \f2string\f1.  In our example, we could use 
  754. X.ft CW
  755. Xsubject programming\f1
  756. Xas a criteria for selection.  Once we've limited our selections down,
  757. Xthe screen will be rewritten with just the selected messages
  758. Xand the top line will change to have a message
  759. Xlike:
  760. X.nf
  761. X.ft CW
  762. X.ps 9
  763. X.tl ''     Folder is "=elm" with 92 shown out of 124 [Elm 2.2]'
  764. X.ps 10
  765. X.ft 1
  766. X.fi
  767. XWe can further limit selections by entering further criteria, each
  768. Xtime using the \f2limit\f1 option again.
  769. X
  770. XTo clear all the criteria and get back to the `regular' display, simply
  771. Xenter \f2all\f1 as the limiting criteria.  It should be noted that the
  772. Xselection based on ``to'' isn't fully implemented for this version, so
  773. Xit is recommended that users stay with ``subject'' and ``from'' as the
  774. Xbasis for their criteria.
  775. X
  776. X.lp \h'24p'm 66p
  777. XMail.  Send mail to a specified user.  The prompt that is associated
  778. Xwith this command is `Send mail to :'.  Entering an alias name results
  779. Xin the full address being rewritten in parenthesis immediately.  This
  780. Xprompt is followed by `Subject:' which allows the user to title their
  781. Xnote.  The final field is `Copies to: ', which allows other people
  782. Xspecified to receive "carbon copies" of the message.  (See the \f2askcc\f1
  783. Xoption of the \f2.elm/elmrc\f1 file above.)  Upon entering all three items the 
  784. Xeditor is invoked and the message can be composed.
  785. X
  786. X.lp \h'24p'n 66p
  787. XNext message that is not marked deleted:
  788. Xuseful for displaying successive messages in a folder.
  789. XWhen issued from the index screen, it displays the current message,
  790. Xand then when issued while in the builtin pager or at the end of a message
  791. X(with either the builtin pager or an external pager),
  792. Xit will display the first screen of the next message not marked for deletion.
  793. X
  794. X.lp \h'24p'o 66p
  795. XOptions.  This full-screen display allows you to alter the settings
  796. Xof a number of parameters, including the current sorting method,
  797. Xthe method of printing files, the calendar file, the save file, and
  798. Xso on.  It's self-documenting (where have you heard \f2that\f1
  799. Xbefore?) so isn't explained in too much detail here.
  800. X
  801. X.lp \h'24p'p 66p
  802. XPrint.  This allows you to print out the current
  803. Xmessage or the tagged messages to a previously defined printer.  (See
  804. Xthe section on the \f2.elm/elmrc\f1 discussing the \f2print\f1 variable.)
  805. X
  806. X.lp \h'24p'q 66p
  807. XQuit.  If you in the pager, you are returned to the index screen. If you are
  808. Xon the index screen, \f2elm\f1 quits altogether,
  809. Xbut first prompts you for the disposition of the messages in
  810. Xthe current folder.  If any messages are marked for deletion,
  811. Xit will ask if you want them deleted.  If the current folder is your
  812. Xincoming mailbox, you will also be
  813. Xasked if read messages should be stored in your \f2receivedmail\f1 folder,
  814. Xand if unread messages should be kept in the incoming mailbox.
  815. XThe default answers to these questions are set by the \f2.elm/elmrc\f1
  816. Xoptions \f2alwaysdelete\fP, \f2alwaysstore\fP, and \f2alwayskeep\fP.
  817. XHowever, if you elect to not store your read messages (i.e. keep them)
  818. Xit is presumed you want to keep your unread messages, too.
  819. X
  820. X.lp \h'24p'Q 66p
  821. XQuick quit.  This behaves similar to the `q' command except that
  822. Xyou are not prompted for answers to the message disposition questions.
  823. X\f2Elm\f1 will dispose of messages according to the values you
  824. Xhave set for \f2alwaysdelete\f1, \f2alwaysstore\f1, and \f2alwayskeep\f1
  825. Xin your \f2.elm/elmrc\f1 file.
  826. X
  827. X.lp \h'24p'r 66p
  828. XReply.  Reply to the sender of the current message.  If
  829. Xthe \f2autocopy\f1 flag is OFF in your \f2.elm/elmrc\f1 file, the program will 
  830. Xprompt ``Copy message? (y/n)'' to which the user can specify 
  831. Xwhether a copy of the source message is to be copied into the edit
  832. Xbuffer, or not.  If copied in, all lines from the message are 
  833. Xprepended with the \f2prefix\f1 character sequence specified in
  834. Xyour \f2.elm/elmrc\f1 file.
  835. X
  836. X.lp \h'24p's 66p
  837. XSave to folder.  This command is like the `copy' command, except
  838. Xthat the saved messages are marked for deletion, and that if you are
  839. Xsaving just the current message, the current message pointer is
  840. Xincremented afterwards (see the \f2resolve\f1 option in the \f2.elm/elmrc\f1
  841. Xfile above).  This command expands folder names
  842. Xwith `~' being your home directory and `=' being your
  843. X\f2maildir\f1 directory, if defined.  This command also allows you to
  844. Xuse `>' for your \f2receivedmail\f1 folder and
  845. X`<' for your \f2sentmail\f1 folder.
  846. X
  847. X.lp \h'24p't 66p
  848. XTag.
  849. X.fn
  850. X4. Currently only \f2pipe\f1, \f2print\f1, and \f2save\f1 support this.
  851. X.ef
  852. XTag the current message for a later operation\s-2\u4\d\s0.
  853. X
  854. X.lp \h'24p'<control>-T 66p
  855. XTag all messages containing the specified pattern.  Since \f2tagging\f1
  856. Xmessages can occur on screens other than the one being viewed, the 
  857. X\f2elm\f1 system will first check to see if any messages are currently
  858. X\f2tagged\f1 and ask you if you'd like to remove those tags.  After
  859. Xthat, it will, similar to the \f2<control>-D\f1 function, prompt for
  860. Xa pattern to match and then mark for deletion all messages that contain
  861. Xthe (case insensitive) pattern in either the \f2from\f1 or \f2subject\f1
  862. Xlines. 
  863. X
  864. X.lp \h'24p'x 66p
  865. XExit.  This leaves \f2elm\f1 in the quickest possible manner
  866. Xwithout making any changes to your folder.  No
  867. Xmessages are deleted and the statuses of messages are unchanged.  That is,
  868. Xany messages that were new will remain new instead of being noted as old,
  869. Xand any messages that were read for the first time
  870. Xwill be again noted as unread.
  871. X
  872. X.in 0
  873. X.sp
  874. XWhen you are about to send of a message under the \f2forward\f1, \f2mail\f1,
  875. Xor \f2reply\f1 commands (see above), a small menu of the following
  876. Xoptions appears:
  877. X
  878. X.lp \h'24p'c 66p
  879. XSpecify folder for saving copy to.  This allows you to override the
  880. X\f2copy\f1 and \f2savename\f1 options of your \f2.elm/elmrc\f1 file.  It
  881. Xprompts you for the name of the folder were a copy of the outgoing message
  882. Xis to be saved.  The default displayed is taken from those two \f2.elm/elmrc\f1
  883. Xoptions and can be changed.  This command also allows you to
  884. Xuse `>' for your \f2receivedmail\f1 folder and
  885. X`<' for your \f2sentmail\f1 folder, and `=' to mean ``save by name''. (See the
  886. Xthe \f2savename\f1 option above).  (Since you could next enter
  887. Xthe \f2edit headers\f1 command and change the recipients
  888. Xof your message, the name of the folder under the
  889. X``save by name'' option is established later when you enter the \f2send\f1
  890. Xcommand.)  You can also enter `?' at the prompt
  891. Xto list the names of your folders.
  892. X
  893. X.lp \h'24p'f 66p
  894. XForget.  This gets you out of sending a message you started. If you are
  895. Xin send-only mode, the message is saved to the file \f2Cancelled.mail\f1
  896. Xin your home directory.  Otherwise 
  897. Xit can be restored at the next \f2forward\f1, \f2mail\f1,
  898. Xor \f2reply\f1 command during the current session of \f2elm\f1. After
  899. Xissuing one of those commands you will be prompted with ``Recall last
  900. Xkept message?''
  901. X
  902. X.lp \h'24p'e 66p
  903. XEdit message (or form).  Entering this command will allow you to edit
  904. Xthe text of your message or form.
  905. X
  906. X.lp \h'24p'h 66p
  907. XEdit headers.  This puts you into the \f2header editing mode\f1, whereby
  908. Xyou can edit to any of the various headers of your message.  Like
  909. Xthe options screen, it's self-documenting, so it isn't explained in too much
  910. Xdetail here.
  911. X
  912. X.lp \h'24p'm 66p
  913. XMake form.  This converts the message you have edited into a form.  (See
  914. X\f2The Elm Forms Mode Guide\f1 for more details.)
  915. X
  916. X.lp \h'24p's 66p
  917. XSend.  This sends the message as is without any further ado.
  918. X.in 0
  919. X.br
  920. X.ne 5
  921. X.sp
  922. X.hn 1 "Using Elm with ``editor = none''"
  923. X.sp
  924. XThe \f2Elm\f1 program also supports a builtin editor for simple message 
  925. Xcomposition that is very (very) similar to the simple line
  926. Xeditor available from the \f2Berkeley Mail\f1 system.
  927. X
  928. XTo access it, you need merely to specify ``\f2editor=none\f1'' in
  929. Xyour \f2.elm/elmrc\f1 file.  
  930. XWith that, any messages to be composed
  931. Xthat don't already have text in the buffer (e.g. no reply with
  932. Xthe text included, etc), will use this editor.
  933. X.sp
  934. XFrom the builtin editor, the following options are available for use.
  935. XEach command here is prefixed with a `~'.
  936. XYou can specify a different ``escape'' character in your \f2.elm/elmrc\f1 file,
  937. Xif you desire (see above).
  938. X.sp
  939. X
  940. X.lp \h'16p'~? .5i
  941. XPrint a brief help menu.
  942. X
  943. X.lp \h'16p'~b .5i
  944. XChange the Blind-Carbon-Copy list.
  945. X
  946. X.lp \h'16p'~c .5i
  947. XChange the Carbon-Copy list.
  948. X
  949. X.lp \h'16p'~e .5i
  950. XInvoke the Emacs editor on the message, if possible.
  951. X
  952. X.lp \h'16p'~f .5i
  953. Xadd the specified list of messages, or current.
  954. X
  955. X.lp \h'16p'~h .5i
  956. XChange all the available headers (To, Cc, Bcc, and Subject)
  957. X
  958. X.lp \h'16p'~m .5i
  959. Xsame as `~f', but with the current `prefix'.
  960. X
  961. X.lp \h'16p'~o .5i
  962. XInvoke a user specified editor on the message.
  963. X
  964. X.lp \h'16p'~p .5i
  965. Xprint out the message as typed in so far.
  966. X
  967. X.lp \h'16p'~r .5i
  968. XInclude (read in) the contents of the specified file.
  969. X
  970. X.lp \h'16p'~s .5i
  971. XChange the Subject line.
  972. X
  973. X.lp \h'16p'~t .5i
  974. XChange the To list.
  975. X
  976. X.lp \h'16p'~v .5i
  977. XInvoke the Vi visual editor on the message.
  978. X
  979. X.lp \h'16p'~< .5i
  980. Xexecute the specified unix command, entering the output
  981. Xof the command into the editor buffer upon completion.
  982. X(for example ``~< who'' will include the output of
  983. Xthe \f2who\f1 command in your message)
  984. X
  985. X.lp \h'16p'~! .5i
  986. Xexecute a unix command if one is given (as in ``~!ls'') or
  987. Xgive the user a shell (either from their shell setting in 
  988. Xtheir \f2.elm/elmrc\f1 file or the default).
  989. X
  990. X.lp \h'16p'~~ .5i
  991. XAdd a line prefixed by a single `~' character.
  992. X.in 0
  993. X.sp
  994. XA useful note is that the `~f' and `~m' commands invoke the \f2readmsg\f1
  995. Xcommand, so you can pass parameters along too.  For example, if we
  996. Xwanted to include a message from Joe, without any headers, prefixed,
  997. Xwe could use:
  998. X.nf
  999. X.ti .5i
  1000. X~m -n Joe
  1001. X.fi
  1002. Xto accomplish the task.
  1003. X
  1004. XTo learn more about how they work, try 'em!
  1005. X.br
  1006. X.ne 5
  1007. X.sp
  1008. X.hn 1 The Alias System
  1009. X.sp
  1010. XAs mentioned previously, there exists in the \f2elm\f1
  1011. Xsystem a set of aliases that associate
  1012. Xan arbitrary word (such as a persons name) to a complex address or group.  
  1013. XThe advantages are readily apparent; rather than
  1014. Xremembering an address of the form:
  1015. X.nf
  1016. X.ps 9
  1017. X.ft CW
  1018. X.ti .5i
  1019. Xhost1!host2! ... !hostN!user
  1020. X.ft 1
  1021. X.ps 10
  1022. X.fi
  1023. Xthe user merely has to remember a single word.  
  1024. X
  1025. XTwo alias tables are available for a each
  1026. Xuser within \f2elm\f1,
  1027. Xnamely the system alias file and the user's alias file.  The
  1028. Xsystem alias file is created and maintained (by the system administrator)
  1029. Xby editing the 
  1030. Xfile \f2SYSTEM_ALIASES\f1 as defined in the `sysdefs.h' file
  1031. X(see \f2The Elm Configuration Guide\f1) and as described
  1032. Xin the documentation with the \f2newalias\f1 command,
  1033. Xthen running the \f2newalias\f1 program.
  1034. X
  1035. XAn individual user can also have an alias file which works
  1036. Xin conjunction with the system aliases.  To do this, they
  1037. Xneed merely to peruse the documentation for the \f2newalias\f1
  1038. Xcommand and create a file as indicated therein.  After 
  1039. Xexecuting the program, the aliases will be available
  1040. Xfor using from within \f2elm\f1.
  1041. X.sp
  1042. XPlease refer to \f2The Elm Alias Users Guide\f1 for more helpful
  1043. Xhints and so on.
  1044. X.sp 2
  1045. XWithin \f2elm\f1,
  1046. Xhowever, the alias system acts as an entirely different program, with
  1047. Xit's own commands and own mini-menu.  The menu replaces the
  1048. Xstandard mini-menu with:
  1049. X.sp
  1050. X.sd
  1051. X.nf
  1052. X.ps 9
  1053. X.ft CW
  1054. X.ce
  1055. X--------------------------------------------------------------------------------
  1056. X.sp
  1057. X.ce
  1058. XAlias commands
  1059. X.sp
  1060. X.ce 2
  1061. Xa)lias current message, d)elete an alias, check a p)erson or s)ystem,
  1062. Xl)ist existing aliases, m)ake new alias or r)eturn
  1063. X.sp 2
  1064. XAlias: @
  1065. X.ce
  1066. X--------------------------------------------------------------------------------
  1067. X.sp
  1068. X.ps 10
  1069. X.ft 1
  1070. X.ed
  1071. X.fi
  1072. X
  1073. XThe commands are:
  1074. X
  1075. X.lp \h'16p'a .5i
  1076. XAlias current message.  
  1077. XThis allows the user to create an alias that has the
  1078. Xreturn address of the current message as the address field of
  1079. Xthe alias.  It prompts for a unique alias name.   Important
  1080. Xnote: when you alias an address in this fashion, the mailer
  1081. Xwill try to minimize the amount it needs to store by
  1082. Xiteratively comparing machine names in the path with the
  1083. Xmachines in the pathalias database.  Once it finds an entry
  1084. Xthe address will be saved at that point.   For further 
  1085. Xinformation, please see \f2The Elm Alias System Users Guide\f1.
  1086. X
  1087. X.lp \h'16p'd .5i
  1088. XDelete an existing alias.
  1089. XThis allows the user to delete an alias the user has previously made.
  1090. XIt prompts for the alias name, and displays the alias information, if
  1091. Xfound, and then prompts for confirmation to delete.
  1092. X
  1093. X.lp \h'16p'l .5i
  1094. XList all existing aliases.
  1095. XThis simply lists all the aliases you have previously made.
  1096. X
  1097. X.lp \h'16p'm .5i
  1098. XMake user alias.  This will prompt for a unique alias name and
  1099. Xthen for an address.  The information provided will be added
  1100. Xto your individual aliases.text file (\f2$HOME/.elm/aliases.text\f1) and 
  1101. Xthen added to the database.
  1102. X
  1103. X.lp \h'16p'p .5i
  1104. XCheck personal alias.  This is a simple way of checking what is in the alias
  1105. Xdatabase \(em it prompts for an alias name, and returns the address
  1106. Xassociated with that name or the error message `alias not found'
  1107. Xas appropriate.  
  1108. X
  1109. X.lp \h'16p'r .5i
  1110. XReturn.  Return to the main level of the \f2elm\f1 program.
  1111. X
  1112. X.lp \h'16p's .5i
  1113. XCheck system alias.  If you're not sure that your machine can talk
  1114. Xto another machine, you can use this command to either find the
  1115. Xappropriate route or find that you're correct in your suspicions 
  1116. Xand it is indeed unknown!
  1117. X.in 0
  1118. X.br
  1119. X.ne 5
  1120. X.sp
  1121. X.hn 1 While We're Talking Aliases...
  1122. X
  1123. XAnother feature worthy of discussion, since it's been getting
  1124. Xlots of veiled references throughout this document, is the 
  1125. Xhost-path file.  This is implemented using the uucp pathalias 
  1126. Xdatabase, with a file containing lines with the format:
  1127. X.nf
  1128. X.ti .5i
  1129. X\f2hostname\f1        \f2address\fC!%s\f1
  1130. X  or
  1131. X.ti .5i
  1132. X\f2hostname\f1        \fC%s@\f2hostname\f1
  1133. X.fi
  1134. XThe actual details of the file are located in 
  1135. X\f2The Alias System Users Guide\f1.
  1136. X
  1137. XAnyway, to use them is quite simple...when specifying the address
  1138. Xof someone, you can either have an alias for them already, reply
  1139. Xto their message, or use the system alias feature!
  1140. X
  1141. XEnough hype, right?  Okay...to use this feature, you specify an
  1142. Xaddress by either "machine!person" ignoring if your specific
  1143. Xmachine can talk directly to the machine specified, or, if you
  1144. Xprefer the Internet addressing scheme, "person@machine".  When
  1145. Xyou enter the address as specified, the mailer will quickly
  1146. Xsearch through the pathalias database file and expand the
  1147. Xspecified address to be a legitimate routing address.
  1148. X
  1149. XWhat's really nice about this is that the address that we're
  1150. Xgoing to send to can be either on ARPA, CSNET, BITNET, uucp,
  1151. Xor any other network.  The method of specifying the basic
  1152. Xaddress is the same regardless!
  1153. X
  1154. XFor example, mail to me could be sent as either "hplabs!taylor"
  1155. Xor "taylor@hplabs".  \f2elm\f1 will expand them
  1156. Xboth in the same manner and include a ``route'' to the 
  1157. Xmachine \f2hplabs\f1, if needed.
  1158. X
  1159. XFor those sites with the domains database installed, you can
  1160. Xalso mail to users on domain based systems by simply specifying
  1161. Xtheir name, the machine they receive mail on and a full domain
  1162. Xspecification.
  1163. X
  1164. XFor example, say you have a friend Maurice who reads mail 
  1165. Xon \s9JOEVAX\s10 in the Mailnet world.  You could mail to him by using
  1166. Xthe address "Maurice@\s9JOEVAX.MAILNET\s10" and your system will
  1167. Xexpand the address correctly.
  1168. X.br
  1169. X.ne 5
  1170. X.sp
  1171. X.hn 1 Expert Mail Users and Debugging the Mailer
  1172. X
  1173. XThere are some additional facilities available in the \f2elm\f1
  1174. Xmailer for those people who are knowledgeable about 
  1175. Xmail protocols, or trying to debug/track down a problem.
  1176. X
  1177. XThe `h' \f2headers\f1 command at the outermost level of the mailer
  1178. Xwill display the current message ignoring the current
  1179. Xsetting of the `weed' option.  This is most useful
  1180. Xfor answering questions of the form "I wonder what
  1181. Xthis guy put in his header?" and such.  This command
  1182. Xdoes not show up on the mini-menu because it is somewhat
  1183. Xesoteric, but it does appear on the `?' help screen (can
  1184. Xyou find it there, though?).
  1185. X
  1186. XThe `@' command at the outermost level of the mailer
  1187. Xwill output a screen of debugging information,
  1188. Xincluding the number of lines and 
  1189. Xoffsets of each of the messages in the current mailbox.
  1190. X
  1191. XThe `#' command at the outermost level of the mailer
  1192. Xwill display the entire stored `record structure' for
  1193. Xthe current message.
  1194. X
  1195. XThe `%' command 
  1196. Xwill display the full computed return address of the
  1197. Xcurrent message.
  1198. X
  1199. XStarting up \f2elm\f1 with the "-d" debug option will create a file called
  1200. X\f2ELM:debug.info\f1 in your home directory and contain a wealth of useful
  1201. Xinformation (to me, at least!) to aid in tracking down
  1202. Xwhat errors are occurring and why.  
  1203. X.sp
  1204. X
  1205. XIf there are any problems with the mailer,  please try
  1206. Xto recreate the error with the debug option enabled
  1207. Xand set to the highest level (11) before sending defect reports my way.
  1208. X.sp 3
  1209. XOne final note: all error names reported by the program
  1210. Xare documented in the AT&T System V Interface Definition Reference 
  1211. XManual in \f2errno\f1(2).
  1212. SHAR_EOF
  1213. echo "File doc/Ref.guide is complete"
  1214. chmod 0444 doc/Ref.guide || echo "restore of doc/Ref.guide fails"
  1215. echo "x - extracting doc/Users.guide (Text)"
  1216. sed 's/^X//' << 'SHAR_EOF' > doc/Users.guide &&
  1217. X\" @(#)$Id: Users.guide,v 2.15 89/03/31 10:18:55 syd Exp $
  1218. X\"
  1219. X\"  Users guide to the ELM mail system.
  1220. X\"  format with:
  1221. X\"    'tbl Users.guide | troff tmac.n - > Users.fmtd'
  1222. X\"
  1223. X\"  Elm is now in the public trust. Bug reports, comments, suggestions, flames
  1224. X\"  etc. should go to:
  1225. X\"    Syd Weinstein        elm@dsinc.UUCP (dsinc!elm)
  1226. X\"
  1227. X\"  (C) Copyright 1986, 1987 Dave Taylor
  1228. X\"  (C) Copyright 1988, 1989 Usenet Community Trust
  1229. X\"
  1230. X\"  $Log:    Users.guide,v $
  1231. X\" Revision 2.15  89/03/31  10:18:55  syd
  1232. X\" Release 2.2 checkin
  1233. X\" 
  1234. X\" Revision 2.14  89/03/29  10:08:24  syd
  1235. X\"  
  1236. X.tm I trust we've run this through "tbl" first...
  1237. X\"  Define the big box macro for troff
  1238. X.de eb
  1239. X.sp -1    
  1240. X.nf
  1241. X\h'-.5n'\L'|\\nau-1'\l'\\n(.lu+1n\(ul'\L'-|\\nau+1'\l'|0u-.5n\(ul'
  1242. X.fi
  1243. X..
  1244. X.po 1i
  1245. X.ds h0
  1246. X.ds h1
  1247. X.ds h2
  1248. X.ds f0
  1249. X.ds f1
  1250. X.ds f2
  1251. X.nr Hy 1
  1252. X.nr Pt 1
  1253. X.nr Pi 0
  1254. X.lg 0
  1255. X.rs
  1256. X.za
  1257. X\" This will keep the nroff version of the title page on one sheet.
  1258. X.if t .sp |3.0i
  1259. X.ce 99
  1260. X.ps 20
  1261. X.ss 18
  1262. X.vs 12
  1263. X\f3The Elm Users Guide\f1
  1264. X.sp 2
  1265. X.ps 12
  1266. X\f2A painless introduction to electronic mail 
  1267. Xusing the \f3Elm\fP mail system\f1
  1268. X.sp 5
  1269. XDave Taylor
  1270. X.sp 
  1271. XHewlett-Packard Laboratories
  1272. X1501 Page Mill Road
  1273. XPalo Alto CA
  1274. X94304
  1275. X.sp
  1276. Xemail: taylor\s10@\s12hplabs.HP.COM or hplabs!taylor
  1277. X.sp 2
  1278. X>>> Elm is now in the public trust. Bug reports, comments, etc. to: <<<
  1279. X.sp
  1280. XSyd Weinstein
  1281. XDatacomp Systems, Inc.
  1282. X3837 Byron Road
  1283. XHuntingdon Valley, PA 19006-2320
  1284. X.sp
  1285. Xemail: elm\s-1@\s+1dsinc.UUCP  or  dsinc\s-1!\s+1elm
  1286. X.ps 8
  1287. X.if t .vs 9
  1288. X.sp 4
  1289. X\f3ABSTRACT\f1
  1290. X.ce 0
  1291. X.sp
  1292. X.in +1i
  1293. X.ll -1i
  1294. XWhile various Unix utilities have been designed to
  1295. Xtake advantage of the CRT screen
  1296. X(rather than line-oriented systems)
  1297. Xelectronic mail systems haven't ``caught the wave''.
  1298. XThis document 
  1299. Xpresents \f2Elm\f1, a sophisticated
  1300. Xfull-screen mail system for interactive use.
  1301. X\f2Elm\f1 offers all the features of
  1302. X\f2/bin/mail\f1, \f2Berkeley Mail\f1, \f2uumail\f1, \f2NMail\f1 and
  1303. Xthe AT&T Mail family of Unix mailers (namely \f2PMX/TERM\f1) in a
  1304. Xunified and intuitive fashion.
  1305. X.ll +1i
  1306. X.in -1i
  1307. X.if t .sp 3
  1308. X.if n .sp 2
  1309. X.ce 2
  1310. X.ps 18
  1311. X.if t .vs 12
  1312. X\f3\(co\f1\s12 Copyright 1986, 1987 by Dave Taylor
  1313. X.ps 18
  1314. X\f3\(co\f1\s12 Copyright 1988, 1989 by The USENET Community Trust
  1315. X.ps 10
  1316. X.bp 1
  1317. X.ce 99
  1318. X.ps 14
  1319. X\f3Elm Users Guide\f1
  1320. X.ds h0 "Elm Users Guide
  1321. X.ds h1
  1322. X.ds h2 "Version 2.2
  1323. X.ds f0
  1324. X.ds f1 "Page %
  1325. X.ps 10
  1326. X.sp
  1327. X(Version 2.2)
  1328. X.sp 2
  1329. XDave Taylor
  1330. XHewlett-Packard Laboratories
  1331. X1501 Page Mill Road
  1332. XPalo Alto CA
  1333. X94304
  1334. X.sp
  1335. Xemail:  taylor\s-1@\s+1hplabs.HP.COM  or  hplabs\s-1!\s+1taylor
  1336. X.sp 2
  1337. X>>> Elm is now in the public trust. Bug reports, comments, etc. to: <<<
  1338. X.sp
  1339. XSyd Weinstein
  1340. XDatacomp Systems, Inc.
  1341. X3837 Byron Road
  1342. XHuntingdon Valley, PA 19006-2320
  1343. X.sp
  1344. Xemail: elm\s-1@\s+1dsinc.UUCP  or  dsinc\s-1!\s+1elm
  1345. X.sp 2
  1346. XApril 1, 1989
  1347. X.ce 0
  1348. X.sp 3
  1349. X.hn 1 Introduction
  1350. X
  1351. XThe
  1352. X.ux
  1353. Xoperating system was originally written on a small PDP machine,
  1354. Xto work with teletypewriters.  Consequently, all the original software for
  1355. Xthe operating system was written with a `tty' in mind; 
  1356. Xwith line oriented interfaces, rather than screen oriented.
  1357. X
  1358. XGradually this began to change, and, with the addition of the Berkeley \f2vi\f1
  1359. Xvisual shell to the \f2ed\f1
  1360. Xline editor, the trend began to be brought to the attention of 
  1361. XUnix systems designers.  
  1362. XAnd yet, this transition has seemed
  1363. Xtoo subtle for many software engineers,
  1364. Xand so precious few Unix programs are available 
  1365. Xdesigned to exploit the entire CRT screen.
  1366. X
  1367. XConsequently, after becoming more and more disenchanted
  1368. Xwith the existing electronic mail facilities (\f2binmail\f1
  1369. Xand \f2Berkeley Mail\f1)
  1370. XI decided to undertake creating my own system.  
  1371. XOnce the ball was rolling it became quite
  1372. Xdifficult not to keep enhancing it, especially as I
  1373. Xbecame more and more familiar with various different mail
  1374. Xsystems, but the result, I hope, is a solid, unified interface
  1375. Xto electronic mail suitable for almost any environment.
  1376. X
  1377. XOne thing that sets \f3The Elm Mail System\f1 off from
  1378. Xother packages is that it
  1379. Xcomes with an extensive documentation set, including;
  1380. X\f2The Elm Users Guide\f1, which you're holding,
  1381. X\f2The Elm Reference Guide\f1, 
  1382. X\f2The Elm Alias Users Guide\f1,
  1383. X\f2The Elm Filter System Users Guide\f1,
  1384. X\f2The Elm Forms Mode Guide\f1, 
  1385. Xand \f2The Elm Configuration Guide\f1.  
  1386. XThe names of each indicate
  1387. Xwhat they discuss (not unreasonably).
  1388. X
  1389. XThis particular document contains;
  1390. Xthis introduction, a tutorial session with the mailer, a
  1391. Xdiscussion of non-interactive uses of \f3Elm\f1,
  1392. Xa brief foray into the \f3Elm\f1 utilities,
  1393. Xand finally, credits and references.
  1394. X
  1395. X\f2The Elm Reference Guide\f1 contains a
  1396. Xmuch more indepth discussion of all the possible options
  1397. Xavailable within the \f3Elm\f1 environment, including
  1398. Xthe ``.elm/elmrc'' file,
  1399. Xthe available outbound mail processing features,
  1400. Xa section for expert users, suggestions
  1401. Xon debugging strange installations, and
  1402. Xmany other useful topics.
  1403. X
  1404. X\f2The Elm Alias Users Guide\f1 is the place
  1405. Xto go to learn about the format of the 
  1406. X``.elm/aliases.text''
  1407. Xfile and the associated data files, to learn how
  1408. Xto create and use path route aliases and domain
  1409. Xbased alias routing, system aliases, and other
  1410. Xrelated topics.
  1411. X
  1412. XOne of the more innovative features of \f3Elm\f1 is
  1413. Xthe ability to transmit and receive ``forms'' (as
  1414. Xdefined by the AT&T Mail system).  To learn about
  1415. Xhow to create and reply to forms you should refer
  1416. Xto \f2The Elm Forms Mode Guide\f1.
  1417. X
  1418. XIf you find yourself getting too much mail delivered in
  1419. Xyour mailbox, you might be a good candidate for the
  1420. X\f2filter\f1 program.  To learn more about what
  1421. Xthis program is and how to use it please
  1422. Xconsult \f2The Elm Filter System Users Guide\f1.
  1423. X
  1424. XFinally, if you're working with the actual source code
  1425. Xand are interested in what all the locally configured
  1426. Xoptions are and mean, please see
  1427. X\f2The Elm Configuration Guide\f1.  It is
  1428. Xstrongly suggested that all system administrators
  1429. Xand people installing the system print out the
  1430. Xlocal ``sysdefs.h'' file and have it handy while
  1431. Xreading the configuration guide.
  1432. X
  1433. XThe recommended order of learning the \f3Elm\f1
  1434. Xsystem is to skim this guide until you feel
  1435. Xconfident enough to start up the program.  Once
  1436. SHAR_EOF
  1437. echo "End of part 5"
  1438. echo "File doc/Users.guide is continued in part 6"
  1439. echo "6" > s2_seq_.tmp
  1440. exit 0
  1441.  
  1442.